package com.dao.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Component;

import com.bean.UserLogs;
import com.dao.UserLogsDao;

@Component
public class UserLogsDaoImpl implements UserLogsDao{

	@Autowired
	private MongoTemplate mongoTemplate;
	
	
	public void insert(UserLogs logs) {
		mongoTemplate.insert(logs);
	}
}
